/*
 * Copyright (c) Huawei Technologies Co., Ltd. 2019-2022.
 * Description: In the sub-card scenario of the router, the device needs to be
 * set hot-swapped during the startup process,then bus/memory resource is
 * reserved in advance.After the startup, the daughter card can allocate
 * resources normally when the daughter card is inserted.
 * Author: wangliang
 * Create: 2019-02-15
 */

#ifndef _FIX_HISI_H
#define _FIX_HISI_H

#ifdef CONFIG_RTOS_FIX_HISI_HP_DEVICE
typedef void (*fix_hisi_fn)(struct pci_dev *dev);
extern int register_fix_hisi_hook(fix_hisi_fn fn);
extern void unregister_fix_hisi_hook(void);
#endif

#endif /* _FIX_HISI_H */
